package com.bhsy.hellobootspring.controller;

import com.bhsy.hellobootspring.model.User;
import com.bhsy.hellobootspring.service.UserService;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;

@Controller
public class LoginController
{
    @Resource
    private UserService userService;
    public Boolean Login(User user)
      {
        return userService.UserAll(user);
      }
}
